<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <title>装备</title>
    <link rel="stylesheet" type="text/css" href="/static/css/base.css">
    <link rel="stylesheet" type="text/css" href="/static/css/mod.css">
    <link rel="stylesheet" type="text/css" href="/static/css/list.css">
    <link rel="stylesheet" type="text/css" href="/static/css/equip.css">
    <!-- <link rel="stylesheet" href="/static/css/show/index.css"/> -->
    <script src="{$staticHost}/static/js/jquery-1.8.3.min.js"></script>
    <script src="{$staticHost}/static/js/js.js"></script>
    <script src="{$staticHost}/static/js/mod.js"></script>
</head>
<body>
   <ul id="compile" class="compile"></ul>
   <script id="compile-list" type="text/html">
        <% for(var i=0; i< result.length ;i++) { %>
            <li>
                <img src="<%=result[i].images%>">
                <p><%=result[i].name %></p>
                <i class="ico-heart-gray"><%=result[i].likes %></i>
                <i class="ico-eye"><%=result[i].viewCounts %></i>
            </li>
        <%}%>
    </script>
    <script type="text/javascript">
        
        $(function(){
           $.getJSON('{$staticHost}/gearWeb/getTopSet',{}, function(data, error) {
                console.log(data)
                // var info = data.result.members;
                
                var html = template('compile-list', data);
                document.getElementById('compile').innerHTML = html;

            })
        })

    </script>
</body>

{template 'show/web-footer'}